//
//  HSRequest+UpdateFile.h
//  Wutuojia
//
//  Created by anlun on 15/7/17.
//  Copyright (c) 2015年 anLun. All rights reserved.
//

#import "HSRequest.h"

@interface HSRequest (UpdateFile)

/**
 *  上传图片
 *
 *  @param apiName      MWApi.plist 里面的 key
 *  @param params       参数
 *  @param imgData      get或post或.....
 *  @param successBlock 成功返回block
 *  @param failedBlock  失败回调block
 *  @param reloginBlock 重新登录回调block
 */
+(void)requestApiName:(NSString *)apiName
            andParams:(NSDictionary *)params
               andImg:(NSData *)imgData
         successBlcok:(void(^)(id sucContent))successBlock
          failedBlock:(void(^)(id failContent))failedBlock
         reloginBlock:(void(^)(id reloginContent))reloginBlock;
@end
